<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/page/core/common/commonvariable.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="<%=commonLib%>" />
<title>登陆日志</title>
</head>
<body ng-app="ssoLoginLogModule" ng-controller="sysLoginLogController">
	<jsp:include page="<%=widgetHeader%>" />

	<div class="lay-wrap">
		<div class="lay-left col-xs-1">
			<jsp:include page="<%=widgetLeftBar%>" />
		</div>
		<div></div>

		<%-- <jsp:include page="<%=widgetAnRightBar%>">
</jsp:include> --%>

		<div class="lay-main col-xs-11">
			<div class="panel panel-default">
				<div class="panel-heading">
					<div class="row">
						<div class="col-xs-10">
							<div class="form-group com-title"></div>
						</div>
					</div>
				</div>
				<div class="panel-body">
					<div class="row">
						<div class="col-sm-12">
							<div class="tabbable">
								<ul class="nav nav-tabs" id="myTab" style="margin-bottom: 0px;">
									<li><a href="javascript:void(0);"> <i
											class="green ace-icon fa fa-home bigger-120"></i> LoginLog
									</a></li>

									<li class=""><a href="<%=actionPath%>/sys/busLog/list">BusLog
									</a></li>
								</ul>
							</div>
						</div>
					</div>
				</div>
				<div class="panel-heading">
					<div class="row">
						<div class="col-xs-12">
							<form class="form-inline" role="form" method="post">
								<div class="form-group">
									<input type="text" class="form-control"
										ng-model="queryForm.companyCode" placeholder="登陆公司" />
								</div>
								<div class="form-group">
									<input type="text" class="form-control" id="startTime"
										ng-model="queryForm.startTime" placeholder="开始时间" />
								</div>
								<div class="form-group">
									<input type="text" class="form-control" id="endTime"
										ng-model="queryForm.endTime" placeholder="结束时间" />
								</div>

								<a href="javascript:void(0);" ng-click="doquery();"
									class="btn btn-default com-margin-left30">查询</a>
							</form>
						</div>
					</div>
				</div>
				<div class="panel-body">
					<div class="row">
						<div class="col-md-12">
							<table class="table">
								<thead>
									<tr>
										<th style="width: 4%">序号</th>
										<th style="width: 12%">登陆用户</th>
										<th style="width: 12%">企业编号</th>
										<th style="width: 12%">登陆时间</th>
										<th style="width: 12%">登陆ip</th>
									</tr>
								</thead>
								<tbody>
									<tr ng-repeat="loginLog in resultList">
										<td ng-bind="$index + 1"></td>
										<td ng-bind="loginLog.username"></td>
										<td ng-bind="loginLog.companyCode"></td>
										<td ng-bind="loginLog.loginTime"></td>
										<td ng-bind="loginLog.clientIp"></td>
									</tr>
								</tbody>
							</table>
							<form role="form" id="sysLoginLogQueryForm" method="post"
								action="<%=actionPath%>/sso/LoginLog/list_json">
								<jsp:include page="<%=widgetAnPagition%>"></jsp:include>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<jsp:include page="<%=widgetFooter%>" />
		<!-- content end -->
	</div>

	<script type="text/javascript" src="<%=request.getContextPath()%>/assets/js/date-time/bootstrap-datepicker.min.js"></script>
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/assets/css/bootstrap-timepicker.css" />
	<script type="text/javascript" src="<%=pagePath%>/js/moudles/sso/LoginLog/sso_loginlog.js"></script>
	<script type="text/javascript" src="<%=pagePath%>/js/common/aninnerpagination.js"></script>
</body>
</html>

